home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Jun 89 / V0034-Should I use TList?-Jun89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  30 lines  |  [TEXT/GEOL]

  1. Item    2716017                         13-June-89        14:45
  2.  
  3. From:   D0314                           Imageering Optical Disk Sys, PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. cc:     X0501                           MacApp Developers Assoc, C Nelson
  8.  
  9. Sub:    Should I use TList?
  10.  
  11.     I need some advice on how far to take object oriented programing in writing
  12. an application.  First some background info: we have a large collection of
  13. video pictures that are stored on a video disk. The video disk can be controled
  14. by an RS232 interface.  We provide an application that allows the user to
  15. database information about all the pictures then do a search to retreive
  16. specific pictures.
  17.     The questions: 1) Do I make the database an object?  2)Should the list of
  18. pictures be a single object or should each item in the list be a seprate
  19. object?
  20.     My thoughts: I beleive that the database should not be an object.  I also
  21. beleive that I should not make each item in the list a seprate object.  The
  22. list can be very large(1000's of items).  Creating this many objects is very
  23. time consuming.  You may not have enough memory to create that many objects.
  24. Calling the drawing method of each item will be very time consuming.  While
  25. having a TList of objects is very appealing I beleive the overhead will kill us
  26. in this case.
  27.     What are your thoughts on this?
  28.  
  29.  
  30.